﻿/* =========================================================
   BUSCADOR PORTAL WEB
   CSS 100% NATIVO - SIN TAILWIND
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {
  --buscador-color-primary: #008000;
  --buscador-color-primary-hover: #006b00;
  --buscador-color-primary-dark: #005c00;
  --buscador-color-primary-soft: #eef8ee;

  --buscador-white: #ffffff;

  --buscador-text: #1f2937;
  --buscador-text-dark: #111827;
  --buscador-text-light: #4b5563;
  --buscador-text-muted: #6b7280;

  --buscador-border: #d1d5db;
  --buscador-border-light: #e5e7eb;

  --buscador-bg-soft: #f8fafc;
}


/* =========================================================
   BOX SIZING AISLADO
========================================================= */

#contenedor-buscador *,
#contenedor-buscador *::before,
#contenedor-buscador *::after,
#modal-buscador *,
#modal-buscador *::before,
#modal-buscador *::after {
  box-sizing: border-box;
}


/* =========================================================
   BUSCADOR DEL HEADER
========================================================= */

.buscador-launcher {
  display: flex;
  align-items: flex-end;
  justify-content: center;

  /*
    Baja ligeramente todo el buscador.
    Puedes subirlo a 22px o 25px si lo quieres más abajo.
  */
  margin-top: 18px;
}


/* =========================================================
   COLUMNA TEXTO + ADMINISTRAR
========================================================= */

.buscador-launcher__content {
  display: flex;
  flex-direction: column;

  min-width: 0;
}


/* =========================================================
   ADMINISTRAR SITIO
========================================================= */

.buscador-launcher__admin {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 8px;

  margin: 0 0 6px 0;
  padding: 0;

  font-family: inherit;
  font-size: 14px;
  line-height: 1.3;
}

.buscador-launcher__admin-link {
  margin: 0;
  padding: 0;

  color: #7c3aed !important;

  font-family: inherit;
  font-size: 14px;
  font-weight: 400;

  text-decoration: none !important;
  white-space: nowrap;

  transition: color 0.2s ease;
}

.buscador-launcher__admin-link:hover {
  color: #5b21b6 !important;

  text-decoration: underline !important;
}

.buscador-launcher__admin-link:focus-visible {
  outline: 3px solid rgba(0, 128, 0, 0.2);
  outline-offset: 3px;

  border-radius: 4px;
}


/* =========================================================
   BOTÓN PRINCIPAL DE BÚSQUEDA
========================================================= */

.buscador-launcher__button {
  appearance: none !important;
  -webkit-appearance: none !important;

  min-width: 220px;
  width: 100%;
  height: 40px;

  display: flex;
  align-items: center;

  margin: 0 !important;

  padding: 0 10px !important;

  border: 1px solid var(--buscador-color-primary) !important;
  border-right: 0 !important;

  border-radius: 7px 0 0 7px !important;

  background: #ffffff !important;

  color: #6b7280 !important;

  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 400 !important;

  line-height: 1 !important;

  text-align: left !important;

  box-shadow: none !important;

  cursor: pointer !important;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease !important;
}

.buscador-launcher__button:hover {
  background: #f8fafc !important;
}

.buscador-launcher__button:focus {
  outline: none !important;
}

.buscador-launcher__button:focus-visible {
  outline: none !important;

  box-shadow:
    0 0 0 3px rgba(0, 128, 0, 0.14) !important;
}


/* =========================================================
   TEXTO BOTÓN
========================================================= */

.buscador-launcher__button-text {
  flex: 1;

  min-width: 0;

  overflow: hidden;

  white-space: nowrap;
  text-overflow: ellipsis;
}


/* =========================================================
   BOTÓN ICONO BUSCAR
========================================================= */

.buscador-launcher__icon {
  appearance: none !important;
  -webkit-appearance: none !important;

  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;

  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;

  border-radius: 0 7px 7px 0 !important;

  background: var(--buscador-color-primary) !important;

  color: #ffffff !important;

  line-height: 1 !important;

  box-shadow: none !important;

  cursor: pointer !important;

  transition:
    background-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease !important;
}

.buscador-launcher__icon:hover {
  background: var(--buscador-color-primary-hover) !important;
}

.buscador-launcher__icon:active {
  transform: scale(0.96);
}

.buscador-launcher__icon:focus {
  outline: none !important;
}

.buscador-launcher__icon:focus-visible {
  outline: none !important;

  box-shadow:
    0 0 0 3px rgba(0, 128, 0, 0.18) !important;
}


/* =========================================================
   SVG BUSCAR
========================================================= */

.buscador-launcher__search-svg {
  display: block;

  width: 20px;
  height: 20px;

  color: #ffffff;

  pointer-events: none;
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 1024px) {
  .buscador-launcher {
    justify-content: flex-end;
  }
}


/* =========================================================
   OVERLAY MODAL
========================================================= */

.buscador-overlay {
  position: fixed;

  inset: 0;

  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 16px;

  background: rgba(0, 0, 0, 0.42);

  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.buscador-overlay.is-open {
  opacity: 1;

  visibility: visible;

  pointer-events: auto;
}


/* =========================================================
   PANEL MODAL
========================================================= */

.buscador-panel {
  position: relative;

  display: flex;
  flex-direction: column;

  width: min(640px, 95vw);
  max-height: min(760px, 92vh);

  margin: 0;

  padding: 24px 20px 18px;

  overflow: hidden;

  border: 0;

  border-radius: 14px;

  background: #ffffff;

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.18),
    0 6px 15px rgba(0, 0, 0, 0.08);

  opacity: 0;

  transform: translateY(10px) scale(0.97);

  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.buscador-panel.is-open {
  opacity: 1;

  transform: translateY(0) scale(1);
}


/* =========================================================
   BOTÓN CERRAR
========================================================= */

#modal-buscador .buscador-close {
  appearance: none !important;
  -webkit-appearance: none !important;

  position: absolute !important;

  top: 12px !important;
  right: 12px !important;

  z-index: 20 !important;

  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;

  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 1px solid #e5e7eb !important;

  border-radius: 50% !important;

  background: #ffffff !important;

  color: #64748b !important;

  font-size: 16px !important;

  line-height: 1 !important;

  box-shadow:
    0 2px 7px rgba(0, 0, 0, 0.07) !important;

  cursor: pointer !important;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease !important;
}

#modal-buscador .buscador-close:hover {
  background: #fff5f5 !important;

  border-color: #fecaca !important;

  color: #dc2626 !important;

  transform: rotate(90deg);

  box-shadow:
    0 4px 12px rgba(220, 38, 38, 0.12) !important;
}

#modal-buscador .buscador-close:active {
  transform: rotate(90deg) scale(0.92);
}

#modal-buscador .buscador-close:focus {
  outline: none !important;
}

#modal-buscador .buscador-close:focus-visible {
  outline: none !important;

  box-shadow:
    0 0 0 3px rgba(220, 38, 38, 0.14) !important;
}

.buscador-close__svg {
  display: block;

  width: 19px;
  height: 19px;

  pointer-events: none;
}


/* =========================================================
   SVG GENÉRICO
========================================================= */

.buscador-svg-icon {
  display: block;

  width: 19px;
  height: 19px;

  pointer-events: none;
}


/* =========================================================
   ENCABEZADO MODAL
========================================================= */

.buscador-header {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;

  margin: 0 0 20px;

  padding: 4px 40px 0;

  text-align: center;
}

.buscador-logo {
  display: block;

  width: 100%;
  max-width: 170px;

  height: 62px;

  margin: 0 0 7px;

  object-fit: contain;
}

.buscador-title {
  margin: 0;

  padding: 0;

  color: #374151;

  font-family: inherit;
  font-size: 17px;
  font-weight: 700;

  line-height: 1.35;
}

.buscador-description {
  max-width: 430px;

  margin: 4px auto 0;

  padding: 0;

  color: #6b7280;

  font-family: inherit;
  font-size: 13px;
  font-weight: 400;

  line-height: 1.45;
}


/* =========================================================
   FILA BÚSQUEDA
========================================================= */

.buscador-search-row {
  display: flex;
  align-items: center;

  width: 100%;

  margin: 0 0 14px;

  padding: 0;
}


/* =========================================================
   WRAPPER INPUT
========================================================= */

.buscador-input-wrapper {
  position: relative;

  flex: 1;

  min-width: 0;

  margin: 0;
  padding: 0;
}


/* =========================================================
   INPUT
========================================================= */

#modal-buscador .buscador-input {
  appearance: none !important;
  -webkit-appearance: none !important;

  width: 100% !important;

  height: 44px !important;

  margin: 0 !important;

  padding: 9px 90px 9px 12px !important;

  border: 1px solid #bfc5cc !important;

  border-radius: 7px !important;

  background: #ffffff !important;

  color: #111827 !important;

  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 400 !important;

  line-height: normal !important;

  outline: none !important;

  box-shadow: none !important;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease !important;
}

#modal-buscador .buscador-input::placeholder {
  color: #8b929d !important;

  opacity: 1;
}

#modal-buscador .buscador-input:hover {
  border-color: #9ca3af !important;
}

#modal-buscador .buscador-input:focus {
  border-color: var(--buscador-color-primary) !important;

  outline: none !important;

  box-shadow:
    0 0 0 3px rgba(0, 128, 0, 0.1) !important;
}


/* =========================================================
   ACCIONES DENTRO DEL INPUT
========================================================= */

.buscador-input-actions {
  position: absolute;

  top: 50%;
  right: 6px;

  z-index: 3;

  display: flex;
  align-items: center;

  gap: 6px;

  margin: 0;
  padding: 0;

  transform: translateY(-50%);
}


/* =========================================================
   BOTONES INPUT
========================================================= */

#modal-buscador .buscador-action-btn,
#modal-buscador .buscador-chip-btn {
  appearance: none !important;
  -webkit-appearance: none !important;

  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;

  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 !important;

  padding: 0 !important;

  border: 1px solid transparent !important;

  border-radius: 50% !important;

  font-family: inherit !important;
  font-size: 14px !important;

  line-height: 1 !important;

  box-shadow: none !important;

  cursor: pointer !important;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease !important;
}


/* =========================================================
   BOTÓN ELIMINAR
========================================================= */

#modal-buscador .buscador-action-btn--clear,
#modal-buscador #clearBtn {
  background: #f8fafc !important;

  border-color: #e2e8f0 !important;

  color: #64748b !important;
}

#modal-buscador .buscador-action-btn--clear:hover,
#modal-buscador #clearBtn:hover {
  background: #fff1f2 !important;

  border-color: #fecdd3 !important;

  color: #e11d48 !important;

  transform: translateY(-1px);
}


/* =========================================================
   BOTÓN MICRÓFONO
========================================================= */

#modal-buscador .buscador-action-btn--mic,
#modal-buscador #micBtn {
  background: var(--buscador-color-primary-soft) !important;

  border-color: rgba(0, 128, 0, 0.15) !important;

  color: var(--buscador-color-primary) !important;
}

#modal-buscador .buscador-action-btn--mic:hover,
#modal-buscador #micBtn:hover {
  background: var(--buscador-color-primary) !important;

  border-color: var(--buscador-color-primary) !important;

  color: #ffffff !important;

  transform: translateY(-1px);

  box-shadow:
    0 4px 10px rgba(0, 128, 0, 0.16) !important;
}


/* =========================================================
   ACTIVE ACCIONES
========================================================= */

#modal-buscador .buscador-action-btn:active,
#modal-buscador .buscador-chip-btn:active {
  transform: scale(0.91);
}


/* =========================================================
   FOCUS ACCIONES
========================================================= */

#modal-buscador .buscador-action-btn:focus,
#modal-buscador .buscador-chip-btn:focus {
  outline: none !important;
}

#modal-buscador .buscador-action-btn:focus-visible,
#modal-buscador .buscador-chip-btn:focus-visible {
  outline: none !important;

  box-shadow:
    0 0 0 3px rgba(0, 128, 0, 0.15) !important;
}


/* =========================================================
   BOTÓN DESHABILITADO
========================================================= */

#modal-buscador .buscador-action-btn:disabled,
#modal-buscador .buscador-chip-btn:disabled {
  opacity: 0.4 !important;

  cursor: not-allowed !important;

  transform: none !important;

  box-shadow: none !important;
}


/* =========================================================
   SVG BOTONES
========================================================= */

.buscador-action-svg {
  display: block;

  width: 16px;
  height: 16px;

  pointer-events: none;
}


/* =========================================================
   OCULTAR
========================================================= */

.hidden {
  display: none !important;
}


/* =========================================================
   MICRÓFONO ACTIVO
========================================================= */

.buscador-pulse {
  animation: buscador-pulse 1s ease-in-out infinite;
}

@keyframes buscador-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.09);
  }
}


/* =========================================================
   LOADER WRAPPER
========================================================= */

.buscador-loader-container {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 22px auto;
}


/* =========================================================
   LOADER
========================================================= */

.buscador-loader {
  position: relative;

  display: block;

  width: 44px;
  height: 44px;

  box-sizing: border-box;

  border: 3px solid;

  border-color:
    var(--buscador-color-primary)
    var(--buscador-color-primary)
    transparent
    transparent;

  border-radius: 50%;

  animation: buscador-rotation 1s linear infinite;
}

.buscador-loader::before,
.buscador-loader::after {
  content: "";

  position: absolute;

  inset: 0;

  margin: auto;

  box-sizing: border-box;

  border: 3px solid;

  border-radius: 50%;

  transform-origin: center;
}

.buscador-loader::after {
  width: 36px;
  height: 36px;

  border-color:
    transparent
    transparent
    #94a3b8
    #94a3b8;

  animation:
    buscador-rotation-back
    0.6s
    linear
    infinite;
}

.buscador-loader::before {
  width: 28px;
  height: 28px;

  border-color:
    var(--buscador-color-primary)
    var(--buscador-color-primary)
    transparent
    transparent;

  animation:
    buscador-rotation
    1.5s
    linear
    infinite;
}

@keyframes buscador-rotation {
  to {
    transform: rotate(360deg);
  }
}

@keyframes buscador-rotation-back {
  to {
    transform: rotate(-360deg);
  }
}


/* =========================================================
   RESULTADOS
========================================================= */

.buscador-resultados {
  flex: 1;

  width: 100%;

  min-height: 0;
  max-height: 320px;

  margin: 10px 0 0;
  padding: 0;

  overflow-x: hidden;
  overflow-y: auto;

  color: #1f2937;

  font-family: inherit;
  font-size: 14px;

  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}


/* =========================================================
   RESULTADO INDIVIDUAL
========================================================= */

.buscador-result-item {
  width: 100%;

  margin: 0;

  padding: 12px 14px;

  border: 0;
  border-bottom: 1px solid #edf0f3;

  background: transparent;

  transition: background-color 0.18s ease;
}

.buscador-result-item:last-child {
  border-bottom: 0;
}

.buscador-result-item:hover {
  background: #f8fafc;
}


/* =========================================================
   LAYOUT RESULTADO
========================================================= */

.buscador-result-item__layout {
  display: flex;
  align-items: flex-start;

  gap: 10px;

  width: 100%;
}


/* =========================================================
   ICONO RESULTADO
========================================================= */

.buscador-result-item__icon {
  flex: 0 0 auto;

  width: 16px;
  height: 16px;

  margin-top: 3px;

  color: var(--buscador-color-primary);
}

.buscador-result-item__icon svg {
  display: block;

  width: 100%;
  height: 100%;
}


/* =========================================================
   CONTENIDO RESULTADO
========================================================= */

.buscador-result-item__content {
  flex: 1;

  min-width: 0;
}


/* =========================================================
   LINK RESULTADO
========================================================= */

#modal-buscador .buscador-link {
  appearance: none !important;
  -webkit-appearance: none !important;

  display: inline !important;

  margin: 0 !important;

  padding: 0 !important;

  border: 0 !important;

  background: transparent !important;

  color: #14532d !important;

  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;

  line-height: 1.4 !important;

  text-align: left !important;

  text-decoration: underline !important;

  text-underline-offset: 3px;

  box-shadow: none !important;

  cursor: pointer !important;

  transition: color 0.2s ease !important;
}

#modal-buscador .buscador-link:hover {
  color: var(--buscador-color-primary) !important;
}

#modal-buscador .buscador-link:focus {
  outline: none !important;
}

#modal-buscador .buscador-link:focus-visible {
  outline: 3px solid rgba(0, 128, 0, 0.16) !important;
  outline-offset: 3px;
}


/* =========================================================
   URL RESULTADO
========================================================= */

.buscador-result-item__url {
  margin: 3px 0 0 !important;

  padding: 0 !important;

  overflow-wrap: anywhere;
  word-break: break-word;

  color: var(--buscador-color-primary) !important;

  font-family: inherit;
  font-size: 12px !important;
  font-weight: 400;

  line-height: 1.4;
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.buscador-result-item__description {
  margin: 5px 0 0 !important;

  padding: 0 !important;

  color: #6b7280 !important;

  font-family: inherit;
  font-size: 11px !important;
  font-weight: 400;

  line-height: 1.45;
}


/* =========================================================
   UBICACIÓN
========================================================= */

.buscador-result-item__location {
  margin: 3px 0 0 !important;

  padding: 0 !important;

  color: #6b7280 !important;

  font-family: inherit;
  font-size: 11px !important;
  font-weight: 400;

  line-height: 1.45;
}

.buscador-result-item__location strong {
  color: #374151;

  font-weight: 700;
}


/* =========================================================
   FOOTER
========================================================= */

.buscador-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  width: 100%;

  margin: 12px 0 0;
  padding: 0;

  font-family: inherit;
  font-size: 11px;

  line-height: 1.4;
}


/* =========================================================
   TIEMPO
========================================================= */

.buscador-footer__time {
  margin: 0;
  padding: 0;

  color: var(--buscador-color-primary);

  font-weight: 600;
}


/* =========================================================
   CANTIDAD
========================================================= */

.buscador-footer__count {
  margin: 0;
  padding: 0;

  color: #374151;

  font-weight: 500;
}


/* =========================================================
   SIN RESULTADOS
========================================================= */

.nores-wrap {
  display: grid;

  grid-template-columns: 1fr;

  align-items: center;
  justify-items: center;

  gap: 12px;

  width: 100%;

  margin: 0;

  padding: 18px;

  border: 1px dashed #d8dde3;

  border-radius: 10px;

  background: #fafafa;

  text-align: center;
}


/* =========================================================
   ILUSTRACIÓN
========================================================= */

.nores-illu {
  width: 145px;
  height: 90px;

  opacity: 0.88;
}

.nores-illu svg {
  display: block;

  width: 100%;
  height: 100%;
}


/* =========================================================
   TEXTO SIN RESULTADOS
========================================================= */

.nores-text {
  min-width: 0;
}

.nores-title {
  margin: 0 0 6px !important;

  padding: 0 !important;

  color: #111827;

  font-family: inherit;
  font-size: 14px;
  font-weight: 700;

  line-height: 1.4;
}


/* =========================================================
   TIPS
========================================================= */

.nores-tips {
  margin: 0 0 10px 17px !important;

  padding: 0 !important;

  color: #4b5563;

  font-family: inherit;
  font-size: 12px;

  line-height: 1.45;
}

.nores-tips li {
  margin: 4px 0;

  padding: 0;

  list-style: disc;
}


/* =========================================================
   ACCIONES SIN RESULTADOS
========================================================= */

.nores-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 6px;

  margin: 0;
  padding: 0;
}


/* =========================================================
   PILLS
========================================================= */

#modal-buscador .pill {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  margin: 0 !important;

  padding: 7px 11px !important;

  border: 1px solid rgba(0, 128, 0, 0.12);

  border-radius: 999px;

  background: var(--buscador-color-primary-soft);

  color: #006b00 !important;

  font-family: inherit;
  font-size: 11px;
  font-weight: 600;

  line-height: 1.3;

  text-decoration: none !important;

  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.15s ease;
}

#modal-buscador .pill:hover {
  background: var(--buscador-color-primary) !important;

  border-color: var(--buscador-color-primary);

  color: #ffffff !important;

  transform: translateY(-1px);
}

#modal-buscador .pill:focus {
  outline: none;
}

#modal-buscador .pill:focus-visible {
  outline: 3px solid rgba(0, 128, 0, 0.15);

  outline-offset: 2px;
}


/* =========================================================
   SCROLLBAR WEBKIT
========================================================= */

#resultados::-webkit-scrollbar {
  width: 8px;
}

#resultados::-webkit-scrollbar-track {
  background: #f1f5f9;

  border-radius: 8px;
}

#resultados::-webkit-scrollbar-thumb {
  background: #cbd5e1;

  border: 2px solid #f1f5f9;

  border-radius: 8px;
}

#resultados::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 560px) {
  .nores-wrap {
    grid-template-columns: 160px 1fr;

    justify-items: start;

    text-align: left;
  }
}


/* =========================================================
   MÓVILES
========================================================= */

@media (max-width: 600px) {
  .buscador-overlay {
    align-items: center;

    padding: 10px;
  }

  .buscador-panel {
    width: 100%;
    max-height: 94vh;

    padding:
      48px
      14px
      15px;

    border-radius: 12px;
  }

  .buscador-header {
    margin-bottom: 16px;

    padding:
      0
      10px;
  }

  .buscador-logo {
    max-width: 145px;

    height: 55px;
  }

  .buscador-title {
    font-size: 16px;
  }

  .buscador-description {
    max-width: 100%;

    font-size: 12px;
  }

  #modal-buscador .buscador-input {
    height: 44px !important;

    padding-right: 86px !important;
  }

  .buscador-resultados {
    max-height: 310px;
  }

  .buscador-result-item {
    padding:
      11px
      6px;
  }

  .buscador-footer {
    gap: 8px;

    font-size: 10px;
  }

  .nores-wrap {
    padding: 14px 10px;
  }

  .nores-actions {
    justify-content: center;
  }
}


/* =========================================================
   HEADER EN MÓVIL
========================================================= */

@media (max-width: 480px) {
  .buscador-launcher {
    width: 100%;

    margin-top: 14px;
  }

  .buscador-launcher__content {
    flex: 1;

    min-width: 0;
  }

  .buscador-launcher__button {
    min-width: 0 !important;

    width: 100% !important;

    font-size: 14px !important;
  }

  .buscador-launcher__admin {
    margin-bottom: 5px;

    font-size: 12px;
  }

  .buscador-launcher__admin-link {
    font-size: 12px;
  }

  .buscador-footer {
    align-items: flex-start;
    flex-direction: column;

    gap: 3px;
  }
}


/* =========================================================
   REDUCIR MOVIMIENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .buscador-overlay,
  .buscador-panel,
  .buscador-close,
  .buscador-action-btn,
  .buscador-chip-btn,
  .buscador-launcher__button,
  .buscador-launcher__icon,
  .buscador-result-item,
  .pill {
    transition: none !important;
  }

  .buscador-panel {
    transform: none !important;
  }

  .buscador-pulse,
  .buscador-loader,
  .buscador-loader::before,
  .buscador-loader::after {
    animation: none !important;
  }
}